package com.iqianye.lacus17c_consumer_feign.service;

import com.iqianye.lacus17c_consumer_feign.service.fallback.FallbackServiceImpl;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author mageric
 * @version 1.0.0
 * @date 2022/4/25 13:11
 */
@FeignClient(value = "lacus17c-provider",fallback = FallbackServiceImpl.class)
public interface FeignService {
    @GetMapping("/test/{message}")
    String test(@PathVariable("message") String message);
}
